package com.service;

import java.util.List;
import java.util.Map;

import org.springframework.transaction.annotation.Transactional;

import com.bean.Complex;

@Transactional
public interface ComplexService {
	
	    int deleteByPrimaryKey(Integer id);

	    int insert(Complex record);

	    int insertSelective(Complex record);

	    Complex selectByPrimaryKey(Integer id);

	    int updateByPrimaryKeySelective(Complex record);

	    int updateByPrimaryKey(Complex record);
	    
	    List<Complex> select(Map map);
	    
	    List<Complex> selectByProjectId(Integer id);
	    
	    int inserttotal(Map<String,Object> complexs);

}
